package com.cloudservice.ccs.mapper;

import com.cloudservice.ccs.entity.AttendanceStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AttendanceStatisticsMapper {
    int save( AttendanceStatistics attendanceStatistics);

    int update(Integer id, AttendanceStatistics attendanceStatistics);

    int delete(Integer id);

    int partialUpdate(Integer id, Map<String, Object> fields);

    AttendanceStatistics getOne(Integer id);

    List<AttendanceStatistics> getAll();
}
